package com.beehoo.dcportal.admin.dao;

import java.util.List;
import java.util.Map;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.PortletBean;

public interface PortletDao {

	/**
	 * 查询首页模块
	 * 
	 * @param paramMap
	 * @return
	 * @throws BaseException
	 */
	public List<PortletBean> queryPortlet(Map<String, Object> paramMap)
			throws BaseException;

	/**
	 * 改变首页模块
	 * @param themeId
	 * @param porletList
	 * @throws BaseException
	 */
	public void changePortlet(String themeId, List<PortletBean> porletList)
			throws BaseException;
}
